/**
 * @create 2022-06-24
 * @desc index
 */

interface ListItem {
    label: string;
    value: keyof any;
}
export const App = (list: ListItem[]) => {

    return <ul>
        {list.map(item => <li>{item.label}: {item.value}</li>)}
    </ul>
}